#ifndef CADAIR_H
#define CADAIR_H
#include "caudiocontroldevice.h"


class CADAir : public CAudioControlDevice
{
public:
    explicit CADAir(QObject *parent = nullptr);

    //客观解析语句是否能够识别
    DEVICE_OPERATION * parseWord(QString word);
    //根据项目配置是否能够执行
    bool actionAudionControl(DEVICE_OPERATION *devOp);

    //添加项目上的具体设备
    void addDevice(DEVICE_OPERATION *d);
    void clearDevice();

private:
    QString match_temp_value(QString word);
    QString match_add_sub(QString word);
    QString match_wind_speed(QString word);
    QString match_mode_set(QString word);
};

#endif // CADAIR_H
